package org.csu.xzypetstore.persistence;

import org.csu.xzypetstore.domain.Category;
import org.csu.xzypetstore.domain.Product;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    Category getCategory(String categoryId);

    //增加
    void addCategory(Category category);

    //删除
    void delCategory(String categoryId);

    //更新
    void updCategory(Category category);
}
